package com.xframe.domain.e3sp.basedata;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: PC
 * @ClassName: com.xframe.domain.e3sp.basedata.PcView
 * @Author: lmx
 * @CreateTime: 2024/01/02
 **/
@Data
@Accessors(chain=true)
@XTable(value = "v_pc", label = "PC视图",tableType = TableType.View)
@XSelectItem(keyName = "pcId",codeName = "pc",textName = "nameCn")
@XSelectItem(keyName = "pcId",codeName = "pc",textName = "nameEn",language = "en")
public class PcView extends BaseModel {

    /**
     * PCID
     */
    @XColumn(name = "pc_id", primaryKeyFlag = true,desc = "PCID")
    private Long pcId;

    /**
     * 备件类别ID
     */
    @XQueryCondition
    @XColumn(name = "category_id",desc = "备件类别ID",nullFlag = true)
    private Long categoryId;

    /**
     * DCID
     */
    @XQueryCondition
    @XColumn(name = "dc_id",desc = "DCID")
    private Long dcId;


    /**
     * PC
     */
    @XQueryCondition
    @XColumn(name = "pc", uniqueFlag = true,desc = "PC",length = 200)
    private String pc;


    /**
     * 中文名称
     */
    @XQueryCondition
    @XColumn(name = "name_cn",desc = "中文名称",length = 200)
    private String nameCn;

    /**
     * 英文名称
     */
    @XQueryCondition
    @XColumn(name = "name_en",desc = "英文名称",length = 200,nullFlag = true)
    private String nameEn;

    /**
     * 备注
     */
    @XColumn(name = "remark",desc = "备注",length = 500,nullFlag = true)
    private String remark;

    /**
     * DC
     */
    @XColumn(name = "dc",desc = "DC",length = 100)
    private String dc;

    /**
     * SC
     */
    @XColumn(name = "sc",desc = "SC",length = 100)
    private String sc;

    /**
     * DC名称
     */
    @XColumn(name = "dc_name_cn",desc = "DC名称",length = 100)
    private String dcNameCn;

    /**
     * DC英文名称
     */
    @XColumn(name = "dc_name_en",desc = "DC英文名称",length = 200,nullFlag = true)
    private String dcNameEn;

    /**
     * SC中文名称
     */
    @XColumn(name = "sc_name_cn",desc = "SC中文名称",length = 200,nullFlag = true)
    private String scNameCn;

    /**
     * SC英文名称
     */
    @XColumn(name = "sc_name_en",desc = "SC英文名称",length = 200,nullFlag = true)
    private String scNameEn;

    /**
     * CLASS编码
     */
    @XColumn(name = "class_code",desc = "CLASS编码",length = 100,nullFlag = true)
    private String classCode;

    /**
     * CLASS中文名称
     */
    @XColumn(name = "class_name_cn",desc = "CLASS中文名称",length = 200,nullFlag = true)
    private String classNameCn;

    /**
     * CLASS英文名称
     */
    @XColumn(name = "class_name_en",desc = "CLASS英文名称",length = 200,nullFlag = true)
    private String classNameEn;

    /**
     * 备件类别编码
     */
    @XColumn(name = "category_code",desc = "备件类别编码",length = 200,nullFlag = true)
    private String categoryCode;

    /**
     * 备件类别名称
     */
    @XColumn(name = "category_name",desc = "备件类别名称",length = 200,nullFlag = true)
    private String categoryName;
}
